﻿using USNetFramework.Network;
using pb = Google.Protobuf;

namespace USNetFramework.PacketBuilder
{
    public class PBPacketBuilder : PacketBuilder
    {
        /// <summary>
        /// 封装网络包 (暂时没有使用protobuf，所以未实现)
        /// </summary>
        /// <param name="_rule">按照一个NetRule分装网络包</param>
        /// <returns></returns>
        public override NetPacket Pack(NetMsg _rule)
        {
            NetPacket packet = new NetPacket();
            return packet;
        }


        ///// <summary>
        ///// 解析网络包 protobuf 不做处理，交给上层处理
        ///// </summary>
        ///// <param name="_packet"></param>
        public override void Unpack(NetPacket _packet)
        {
            return;
        }
    }
}
